#include "../Storage.h"
#include <UnitTest++/UnitTest++.h>

using namespace MockItNow;

namespace
{
	TEST (ConstructorSetsAddressAndValue)
	{
		int a = 5;

		Storage<int> storage(a);

		CHECK_EQUAL(&a, storage.address);
		CHECK_EQUAL(5, storage.value);
	}
}
